package com.cbgolf.oa.user;


import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;

/**
 * Created by seiya on 2016/11/8.
 */
@Table(name = "User")
public class User implements Serializable {

  public User() {

  }

  //用户ID
  @Column(name = "token")
  private String token;

  public String getToken() {
    return token;
  }

  public void setToken(String token) {
    this.token = token;
  }

  @Column(name = "userAccount")
  private String userAccount;
  @Column(name = "name")
  private String name;
  @Column(name = "courseName")
  private String courseName;
  @Column(name = "status")
  private String status;
  @Column(name = "phone")
  private String phone;
  @Column(name = "gender")
  private String gender;
  @Column(name = "info")
  private String info;
  @Column(name = "courseId")
  private String courseId;
  @Column(name = "id", isId = true, autoGen = false)
  private String id;
  @Column(name = "isDiscount")
  private String isDiscount;
  @Column(name = "outletIds")
  private String outletIds;

  @Column(name = "roles")
  private String roles;
  @Column(name = "outletDtos")
  private String outletDtos;
  @Column(name = "haveClosePermission")
  private boolean haveClosePermission;

  public boolean isHasPermission() {
    return hasPermission;
  }

  public void setHasPermission(boolean hasPermission) {
    this.hasPermission = hasPermission;
  }

  /**
   * 操作teetime权限，可以点位置
   */
  @Column(name = "hasPermission")

  private boolean hasPermission;

  public boolean getHaveClosePermission() {
    return haveClosePermission;
  }

  public void setHaveClosePermission(boolean haveClosePermission) {
    this.haveClosePermission = haveClosePermission;
  }

  public String getRoles() {
    return roles;
  }

  public void setRoles(String roles) {
    this.roles = roles;
  }

  public String getOutletDtos() {
    return outletDtos;
  }

  public void setOutletDtos(String outletDtos) {
    this.outletDtos = outletDtos;
  }

  public String getUserAccount() {
    return userAccount;
  }

  public void setUserAccount(String userAccount) {
    this.userAccount = userAccount;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getGender() {
    return gender;
  }

  public void setGender(String gender) {
    this.gender = gender;
  }

  public String getInfo() {
    return info;
  }

  public void setInfo(String info) {
    this.info = info;
  }

  public String getCourseId() {
    return courseId;
  }

  public void setCourseId(String courseId) {
    this.courseId = courseId;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getIsDiscount() {
    return isDiscount;
  }

  public void setIsDiscount(String isDiscount) {
    this.isDiscount = isDiscount;
  }

  public String getOutletIds() {
    return outletIds;
  }

  public void setOutletIds(String outletIds) {
    this.outletIds = outletIds;
  }
}
